home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 3 / USEnet 3.102 < prev    next >
Encoding:
Text File  |  1988-04-08  |  26.4 KB  |  756 lines  |  [TEXT/ttxt]

  1.  5-Dec-87 15:45:32-PST,27754;000000000001
  2. Date: Sat 5 Dec 87 13:59:21-GMT
  3. From: Jeff Shulman <SHULMAN@SDR>
  4. Subject: Usenet Mac Digest V3 #102
  5.  
  6. Usenet Mac Digest     Saturday, December 5, 1987    Volume 3 : Issue 102 
  7.  
  8. Today's Topics:
  9.      What to do with 256Kbit SIMMs?
  10.      Word Processing
  11.      Re: What does 'ShutDown' do to Third Pa
  12.      Basic for the Mac
  13.      Re: More clipboard strangeness under MultiFinder
  14.      MathView
  15.      Re: Arabic Wordprocessing / Publishing Software wanted
  16.      Re: One Quick and Dumb ?
  17.      Re: Help with key1trans
  18.      large monochrome monitors
  19.      Installer 2.5--where there's a will (+1 meg), there's a way
  20.      MPW C 2.0 Bug: PurgeSpace is foobar
  21.      Source for Postscript
  22.      Followup to corrupted Excel file problem.
  23.      rect.top vs: rect.topLeft in C
  24.      Re: 4Dimension ???
  25.      Re: Help wanted:  a LSC question
  26.      Re: One Quick and Dumb ?
  27.      Re: Mac II power switch
  28.      Turbo Pascal ideas...
  29.  
  30. ---------------------------------------------------------------------- 
  31.  
  32. From: peter@aucs.UUCP (Peter Steele)
  33. Subject: What to do with 256Kbit SIMMs?
  34. Date: 2 Dec 87 12:37:41 GMT
  35. Organization: School of Computer Science, Acadia Univ., Nova Scotia
  36.  
  37. For sale: 2 256Kbit SIMMs in good working order (and one slightly
  38.           used resistor :-})
  39.  
  40. Yes, I did it. I upgraded my SE to 2.5Megs. Now I am wondering what to
  41. do with the old SIMMs. Does Apple have any interest in buying these
  42. back? Does anybody know who might want to buy them? After all, they're
  43. perfectly good SIMMs. They must be good for something?
  44.  
  45. -- 
  46. Peter Steele Acadia Univ. Wolfville NS Canada B0P1X0 (902)542-2201x121
  47. UUCP:{uunet|watmath|utai|garfield}dalcs!aucs!Peter BITNET:Peter@Acadia
  48.  
  49.  
  50. ------------------------------
  51.  
  52. From: leeke@glacier.STANFORD.EDU (Steven D. Leeke)
  53. Subject: Word Processing
  54. Date: 2 Dec 87 13:36:41 GMT
  55. Organization: Stanford University
  56.  
  57. I've got the following minimum requirements for a WP:
  58.  
  59.     o Several thousand index entries
  60.     o table of figures
  61.     o table of tables
  62.     o table of contents
  63.     o foot/endnotes
  64.     o bibliography
  65.     o graphics blocks and in-line
  66.     o style sheets
  67.     o Full Mac editing/styles/etc.
  68.     o Several hundred pages total (a single file or mult. linked files)
  69.  
  70. Since FullWrite is still VaporWare and WordPerfect is already 2 months
  71. behind schedule I've been using Word 3.01.  It seemed to go well until I
  72. hit Word's 1MB limit.  It seems pretty crazy that a program can read a
  73. file in but not save it!  Word also has a hard time with a large index.
  74.  
  75. Is there a program I'm missing or do I have to wait for FullWrite,
  76. InterLeaf, or FrameMaker?  What say ye?  Is there a program I'm missing?
  77.  Is Microsoft going to update Word (Excel) to get rid of the 20b bug?
  78.  
  79. Thanks,
  80.  
  81. Steve Leeke
  82.  
  83. -- 
  84. Steven D. Leeke, Center for Integrated Systems, Stanford University
  85.     {ucbvax,decvax}!decwrl!glacier!leeke, leeke@glacier.stanford.edu
  86.  
  87. "I suppose they don't use money in the 23rd century?"
  88.  
  89.  
  90. ------------------------------
  91.  
  92. From: hannon@clio.las.uiuc.edu
  93. Subject: Re: What does 'ShutDown' do to Third Pa
  94. Date: 1 Dec 87 19:37:00 GMT
  95.  
  96.  
  97.     According to IMV (beta draft), which I don't have in front of me, but I
  98. have a pretty good recollection of the ShutDown Manager (after using it
  99. to write my ShutDownSound INIT), the ShutDown command in the Finder
  100. works as  follows:
  101.     It calls the ShutDown Manager with trap _ShutDown with a selector of 2,
  102. ShutDwnPower.  The ShutDown Manager then goes about its business of
  103. shuttin down the Macintosh by first closing all open apps (if you are
  104. running under MF), then closing all open Drivers (such as
  105. DA's/Printer/Disk, etc.), then it goes through all mounted drives and
  106. UnMounts them and then finally either turns itself off (if you are a Mac
  107. ][) or puts up that funky dialog.
  108.     (If there is a ShutDownProc installed, like my SDSound, it will be 
  109. executed as part of this procedure as well).
  110.     All this is described in IMV in the chapter on the ShutDown Manager, or
  111. in my article in the September Issue of the Champaign-Urbana Macintosh
  112. Users Group Newsletter.
  113. -- 
  114. +--------------------------------------------------------------------------+
  115. +                                   |                                      +
  116. +  Leonard Rosenthol                |  USnail:   205 E. Healey  #33        +
  117. +  Halevai Software                 |            Champaign, Il  61820      +
  118. +  GEnie: MACgician                 |                                      +
  119. +  ARPA:  hannon@clio.las.uiuc.edu  |  Bitnet:   3FLOSDQ@UIUCNOSA.BITNET   +
  120. +  {ihnp4|convex|pur-ee}!uiucuxc!clio!hannon                               +
  121. +--------------------------------------------------------------------------+
  122. + Disclaimer #1: Since I own the company, I can say whatever I want, and   +
  123. +                not be responsible for it!                                +
  124. +                                                                          +
  125. + Disclaimer #2: Anything I say may be construed as being under the        +
  126. +                jurisdiction of Disclaimer #1                             +
  127. +--------------------------------------------------------------------------+
  128.  
  129.  
  130. ------------------------------
  131.  
  132. From: putnam@ccvaxa.UUCP
  133. Subject: Basic for the Mac
  134. Date: 2 Dec 87 04:32:00 GMT
  135.  
  136.  
  137. Does anybody out there know which brand of Basic for the Mac is the
  138. best?  No language wars please!  This is for a young friend of mine who
  139. will soon encounter Basic in school. 
  140.  
  141. ZBasic looks interesting.  Is it friendly enough for a novice?
  142.  
  143.  
  144. ------------------------------
  145.  
  146. From: goldman@apple.UUCP (Phil Goldman)
  147. Subject: Re: More clipboard strangeness under MultiFinder
  148. Date: 2 Dec 87 18:27:58 GMT
  149. Organization: Apple Computer Inc., Cupertino, USA
  150.  
  151. Unfortunately, there really is no clean way to do this right now. 
  152. Calling _SysEdit as explained above will work, but a safer way is to
  153. call _MenuKey(cmd-C), assuming of course that your app has an Edit menu
  154. with cut, copy, etc. items.  This way you don't have to worry about any
  155. possible side effects on DAs.
  156.  
  157. The reason all this is necessary is that it was determined that copying
  158. large handles from application to application during layer switches
  159. caused too great a performance hit.  Therefore, the clipboard is only
  160. copied when MF senses that the user has changed it.  We realize that
  161. this causes a problem for application-generated changes and we hope to
  162. provide a standardized method for doing so in the future.
  163.  
  164. -Phil Goldman Apple Computer
  165.  
  166.  
  167. ------------------------------
  168.  
  169. From: gardner@prls.UUCP (Robert Gardner)
  170. Subject: MathView
  171. Date: 2 Dec 87 17:49:25 GMT
  172. Organization: Philips Research Labs, Sunnyvale, California
  173.  
  174. Does anyone have any experience with MathView for doing 3-D graphs,
  175. etc.? Has it been released yet?
  176.  
  177. We're considering purchasing several copies but would like some feedback
  178. first.
  179. -- 
  180. Thank you,
  181. Robert Gardner
  182.  
  183.  
  184. ------------------------------
  185.  
  186. From: jordan@apple.UUCP (Jordan Mattson)
  187. Subject: Re: Arabic Wordprocessing / Publishing Software wanted
  188. Date: 2 Dec 87 20:00:13 GMT
  189. Organization: Apple Computer Inc., Cupertino, USA
  190.  
  191. A followup on Arabic Wordprocessing:
  192.  
  193.     Ready, Set, Go as distributed in Europe when combined with the Arabic
  194. Interface System for the Apple Macintosh will allow you to use Arabic in
  195. word processing and desk top publishing.  Do not buy the version of
  196. Ready, Set Go distributed in the United States:  it does not work with
  197. the Arabic Interface System.
  198.     Ready, Set, Go is publised by Letraset.  Contact their international 
  199. division for more information.
  200.     The Arabic Interface System is distrubited by Apple through APDA - the
  201. Apple Programmer's and Developer's Association.
  202.  
  203. -- 
  204. Jordan Mattson                UUCP:   ucbvax!mtxinu!apple!jordan
  205. Apple Computer, Inc.            CSNET:     jordan@apple.CSNET
  206. Tools & Languages Product Management
  207. 20525 Mariani Avenue, MS 27S
  208. Cupertino, CA 95014
  209. 408-973-4601
  210.             "Joy is the serious business of heaven."
  211.                     C.S. Lewis
  212.  
  213.  
  214. ------------------------------
  215.  
  216. From: steele@unc.cs.unc.edu (Oliver Steele)
  217. Subject: Re: One Quick and Dumb ?
  218. Date: 2 Dec 87 22:12:07 GMT
  219. Organization: University of North Carolina, Chapel Hill
  220.  
  221. The Druid (dredick@bbn.com) writes:
  222. >  I have always wanted to write an application that does not use
  223. >  the menu bar but instead DRAW USING THE FULL MAC SCREEN including
  224. >  where the menu bar is. [...]
  225.  
  226. The easy way:
  227.     GrafPort  myPort;
  228.     OpenPort(&myPort);
  229.  
  230. The slightly more difficult way:
  231.     WindowPtr myWindow;
  232.     Rect      bounds;
  233.     GrafPort  myPort;
  234.  
  235.     OpenPort(&myPort);
  236.     bounds = myPort->portRect;
  237.     ClosePort(&myPort);
  238.     myWindow = NewWindow(0,&bounds,"\palmost always invisible :-)",
  239.             false,0,-1,false,0);
  240.     RectRgn(window.port.visRgn, &bounds);
  241.     ShowWindow(window);
  242.  
  243. The advantage of the second way is that when the window goes away,
  244. whatever was behind it is redrawn (you still need to do the menu bar and
  245. desktop corners explicitly).  This way you can use it in a da or
  246. multifinder-friendly application.
  247.  
  248. chuq@sun.UUCP (Chuq Von Rospach) writes:
  249. >I wouldn't recommend this, as it will cause the application to break under
  250. >Multifinder.
  251.  
  252. You can still use the second way above.  I think it's pretty rude to do
  253. this, so I check for the presence of MultiFinder to decide whether to
  254. grab the whole screen or just throw up a window.  You should probably
  255. either do this or only use the whole screen if the user requests.
  256. -- 
  257. ------------------------------------------------------------------------------
  258. Oliver Steele                  ...!{decvax,ihnp4}!mcnc!unc!steele
  259.                             steele%unc@mcnc.org
  260.  
  261.     "Life isn't fair.  It's just fairer than death, that's all."
  262.                             -- William Goldman
  263.                               _The Princess Bride_
  264.  
  265.  
  266. ------------------------------
  267.  
  268. From: stew@endor.harvard.edu (Stew Rubenstein)
  269. Subject: Re: Help with key1trans
  270. Date: 3 Dec 87 01:27:19 GMT
  271. Organization: Aiken Computation Lab Harvard, Cambridge, MA
  272.  
  273. key1trans is obsolete and unsupported.  The modern way to do this is
  274. described in TechNote #160, Key Mapping.
  275.  
  276. -- 
  277. Stew Rubenstein
  278. Cambridge Scientific Computing, Inc.
  279. UUCPnet:    seismo!harvard!rubenstein            CompuServe: 76525,421
  280. Internet:   rubenstein@harvard.harvard.edu       MCIMail:    CSC
  281.  
  282.  
  283. ------------------------------
  284.  
  285. From: kautz@allegra.UUCP (Henry Kautz)
  286. Subject: large monochrome monitors
  287. Date: 2 Dec 87 19:19:25 GMT
  288. Organization: AT&T Bell Laboratories, Murray Hill
  289.  
  290. Here is some information about large monochrome monitors for the Mac II
  291. I've gathered, that should be of some interest....  This is not a
  292. complete list --- I've not been able to get through to Megagraphics
  293. (formerly Micrographics Images) to see if they have a Mac II video card
  294. yet.  I got this info. from calling the companies --- note that it does
  295. *not* always match what they're advertising!
  296.  
  297.  **************
  298.  SUPERMAC
  299.  415-964-8884
  300.  
  301. Produces *two different* mono. video cards, *both* called the Graphix.
  302. One is 1280x960 (91 dpi), other is 1024x768 (73 dpi).  (Next year
  303. sometime they'll sell a single card which can be configured -- at
  304. installation time -- in either mode.)  Likewise sells *two different*
  305. monochrome 19" monitors, one optimized for 91 dpi and the other for 73
  306. dpi.  Be sure to get the one you want --- sometimes they ship mismatched
  307. pairs, leading to lousy resolution!  The 91dpi board lets you see two
  308. full pages on the screen at once, so is good for layout -- but small
  309. fonts become hard to read.
  310.  
  311. Their monitor is produced by Moniterm, which also supplies Sigma Designs
  312. and Moniterm's Viking.
  313.  
  314. They current have a *huge* backlog -- 4-8 weeks minimum. A number of
  315. people I've talked to complain that the screens are not as bright or
  316. contrasty as the Apple monochrome.
  317.  
  318. You can get tech support from Fabian Ramirez, 415-964-9660.
  319.  
  320. Incidently: if you want a *color* monitor from Supermac, be *sure* to
  321. get the Trinitron one --- the non-trinitron one is pretty fuzzy.
  322.  
  323. Prices: $500 Grafix card, $1500 monitor
  324.  
  325.  *************
  326.  Radius 
  327.  408-434-1010
  328.  
  329. Just introduced Full Page Display for Mac II, 640x864, 15", 75? dpi.
  330. Price: $2000 including video card.  Rumored to be very sharp.
  331.  
  332. Currently has dual page display (19") for SE and +, next year sometime
  333. will have one for the II.
  334.  
  335.  ************
  336.  E-Machines, The Big Picture 
  337.  503-692-6656
  338.  
  339. Supposed to be very bright, and have 2 week delivery time.
  340.     17" monitor
  341.     1024x808, 82dpi
  342.     list $2000, Apple National Accounts price $1600
  343.  
  344.  ************
  345.  Network Specialities 
  346.  415-467-8411
  347.     Next year will have 20" dual page display for Mac II
  348.     1024x1024, 80dpi, ergonomic swival stand
  349.     Currently is available for + and SE.
  350.  
  351.  ***********
  352.  Sigma Designs Laserview
  353.  415-770-0100
  354.  
  355. Comes with either a 19" or 15" monitor, and a dual mode video card
  356.  
  357.  mode        19" dpi        15" dip
  358.  1664x1200    115        150
  359.  832x600    58        75
  360.  
  361. The table shows that the 19" monitor is a real problem -- the dpi is
  362. either far too high or far too low for readable text. Price: $2400 with
  363. 19", $1900 with 15"
  364.  
  365. Claim about a 1 month shipping backlog.
  366.  
  367.  
  368. -- 
  369.  
  370. ---- Henry Kautz
  371. :uucp:    allegra!kautz        
  372. :arpa:    kautz@allegra.att.com
  373. :csnet: kautz%allegra@btl.csnet
  374. :mail:  AT&T Bell Laboratories    
  375.     Room 3C-402A
  376.     600 Mountain Ave.    
  377.     Murray Hill, N.J. 07974    
  378. :office phone: (201) 582-2815    
  379.  
  380.  
  381. ------------------------------
  382.  
  383. From: ralph@lzfme.UUCP (R.BRANDI)
  384. Subject: Installer 2.5--where there's a will (+1 meg), there's a way
  385. Date: 2 Dec 87 05:39:03 GMT
  386. Organization: AT&T, Middletown NJ
  387.  
  388.  
  389. In catching up with the past week or two of comp.sys.mac, I've noticed a
  390. lot of grumbling about the brain-damaged way Installer works.  You'll
  391. certainly get no argument from me on that count; the first time I tried
  392. to update with Installer, I got caught in the same disk-swap dance.  But
  393. I did find a way around it.  One catch--you need to have at least a meg
  394. of memory so you can fit the system in a RAM disk.
  395.  
  396. The computer here is a Mac Plus, upgraded over time from a 128 that we
  397. got used a while back.  The external drive is a single-sided 400K drive
  398. (why do I have a Mac Plus and no Hard Drive, you ask?  Well, there's the
  399. driveway that needs to be replaced, and the new stove that's needed, and
  400. the deck we replaced this summer, and...you get the idea).  Anyways,
  401. what I did was to take a 4.1/5.5 startup disk, and run a RAM disk
  402. program (RAMStart 1.3, to be exact) which transfers all the system files
  403. to the RAM disk.  The disk I set up was about 650K.  I probably could
  404. have gotten away with about 100K less, but not much less than that
  405. (ergo, the need for one meg...). Running Installer from one of the Apple
  406. release disks (reconstructed from some on-line documentation I found on
  407. one of the services-- Compu$erve, I think) transfers control to that
  408. disk (the one Installer is on), and allows you to update the system on
  409. the RAM disk.  Voila.  All you have to do is copy the contents of the
  410. RAM disk onto your startup disk.  You have to do this by selecting all
  411. the files, rather than dragging the whole RAM disk onto a disk-- when I
  412. tried that, the System was renamed copy of System, and resolutely
  413. refused to be renamed.  Anyways, by paring down to the absolute minimum
  414. (system-necessary fonts only, 3 DAs, including Control Panel, Chooser
  415. and Alarm Clock, no printer driver), I was able to fit a functional
  416. MultiFinder startup system onto a 400K disk, which was the point of
  417. doing this.  The system is now only (ONLY???) 203K.  Without using the
  418. Installer, I wouldn't have been able to fit this all onto a 400K disk (I
  419. wouldn't know what resources to delete with ResEdit).  Now if only I
  420. could get rid of that Option-Command-Click About MultiFinder box--it's
  421. cute the first time, but I really don't need it on a 400K disk....
  422.  
  423. I hope this helps.  I realize that it's only useful under a certain
  424. limited set of circumstances, but it's good to know that there IS a way
  425. to get around some things....
  426.  
  427. Ralph
  428. -- 
  429.  
  430.     ====      | Disclaimer: Just `cuz I work on the Death Star, 
  431.  ==OOO=====   | that doesn't mean I speak for Darth Vader...
  432. =OOOOOOO====  | Ralph Brandi, {ihnp4, all AT&T machines... }!lzfme!ralph
  433. =OOOOOOO====  | Kopykat (k) 1987, R.A.Brandi    rutgers!mtune!/
  434.  ==OOO=====   | All Rights Reserved, All Jams Preserved,
  435.     ====      | All Nasty Comments Soundly Deserved...
  436.  
  437. "Time has little to do with infinity and jelly donuts..."
  438.  
  439.  
  440. ------------------------------
  441.  
  442. From: larryh@tekgvs.TEK.COM (Larry Hutchinson)
  443. Subject: MPW C 2.0 Bug: PurgeSpace is foobar
  444. Date: 2 Dec 87 16:45:43 GMT
  445. Organization: Tektronix Inc., Beaverton, Or.
  446.  
  447. I have discovered yet another MPW C 2.0 bug.  It seems that the memory
  448. manager glue proc 'PurgeSpace(total,contig)' uses the wrong trap word. 
  449. The trap that is called is _HSetState (with garbage as parameters)
  450. rather than _PurgeSpace.  I have included at the end of this note an MPW
  451. assembler proc to replace the faulty one.  Actually, I have included
  452. two: my own code and an exact replica of the original code (which is
  453. apparently machine generated).  I believe the code is correct, but you
  454. need to check it out yourself.
  455.  
  456. But first, a few whining, sniveling comments:
  457.     Why am I the only one to post MPW C bug reports to the net?
  458.     Am I the only one that finds them?  -- Hardly likely (in spite of
  459.     the popularity of LightSpeed C).
  460.     Does everyone else already knows about them from GENIE or some
  461.     other BBS or via MCI mail to developer support?
  462.     Do other people just not bother?
  463.  
  464.     Come on, Jordan, surely a bug list exists for the MPW product line:
  465.     why not save a few thousand hours of programmer time and publish
  466.     it to the net?
  467. -- 
  468. Larry Hutchinson, Tektronix, Inc. PO Box 500, MS 50-383, Beaverton, OR 97077
  469. { decvax,allegra }!tektronix!tekgvs!larryh
  470.  
  471.  
  472. ;
  473. ;    PurgeSpace.a
  474. ;        replaces the faulty version from MPW C 2.0
  475. ;
  476.  
  477.     INCLUDE     'Traps.a'
  478.     CASE        ON        ; we're talking to c
  479.  
  480. ;=====================================================================
  481. ;
  482. ; PROCEDURE PurgeSpace(VAR total,contig: LONGINT);
  483. ;=====================================================================
  484. PurgeSpace    PROC    EXPORT
  485.  
  486.     _PurgeSpace
  487.     move.l    4(sp),a1    ; addr of total
  488.     move.l    d0,(a1)+    ; stow total
  489.     move.l    a0,(a1)        ; and contig
  490.     rts
  491.  
  492.     ENDP
  493.  
  494.     END
  495.  
  496.  
  497. NOTE:  the above is my version of PurgeSpace.  The following is an
  498.     exact replacement for the original code -- it just uses
  499.     the correct trap.
  500.  
  501.     move.l    d2,-(sp)    ; save d2
  502.     _PurgeSpace
  503.     move.l    a0,d2        ; value of contig
  504.     move.l    8(sp),a0    ; addr of total
  505.     move.l    d0,(a0)
  506.     move.l    12(sp),a0    ; addr of contig
  507.     move.l    d2,(a0)
  508.     move.l    (sp)+,d2    ; restore d2
  509.  
  510.  
  511. ------------------------------
  512.  
  513. From: Tim_M_Dierks@cup.portal.com
  514. Subject: Source for Postscript
  515. Date: 2 Dec 87 03:59:35 GMT
  516. Organization: The Portal System (TM)
  517.  
  518. If anyone can offer me any source code on how to send Postscript to the
  519. Laserwriter I would _greatly_ appreciate it.  Even if I can't get source
  520. code, some clues or a general plan would be greatly appreciated.
  521. -- 
  522. Tim Dierks
  523. C4TKG3@IRISHMVS.BITNET
  524. Tim_M_Dierks@cup.portal.com
  525.  
  526.  
  527. ------------------------------
  528.  
  529. From: wmartin@ut-ngp.UUCP (Bureau of Redundancy Bureau and Mattress Tag Police)
  530. Subject: Followup to corrupted Excel file problem.
  531. Date: 4 Dec 87 02:12:19 GMT
  532. Organization: UTexas Computation Center, Austin, Texas
  533.  
  534.  
  535.    Last week I posted a note about losing an Excel file - although the
  536. file remained intact as far as my disk sector editor was concerned,
  537. Excel could not read it without crashing.
  538.     A few people sent me mail, saying that they had had that same
  539. problem and requesting that I send the Excel file format if I find it
  540. out. I haven't (nobody volunteered it, anyway), but I did a little
  541. experiment, saving a file in all 4 Excel formats:
  542. -- 
  543.     File    Time        Preserve    Readable
  544. File    Size    to Read        Formats &    via Sector
  545. Type    (char)    In        Formulas    Editor
  546. Excel    16830     5.91 sec    Yes        No
  547. SYLK    16392    27.22        Yes        Yes
  548. WKS    14370    23.39        Yes(mostly)    No
  549. Text     3236    13.75        No        Yes
  550.  
  551.    By "readable" I mean you could crank up Fedit and read the numbers
  552. straight off the screen. The SYLK format is documented in various
  553. Microsoft manuals.
  554.    The results imply that if you have a database that is very
  555. important to you, you might want to keep it in SYLK or Text
  556. format in case Excel decides to make it unreadable.
  557.  
  558. Wiley Sanders, Civil Engineering Dept, UT-Austin
  559. secret NSA CIA anti Soviet Iran terrorist nuclear drug decoder ring
  560.                                      - take THAT, NSA line-eater!
  561.  
  562.  
  563. ------------------------------
  564.  
  565. From: kdmoen@watcgl.waterloo.edu (Doug Moen)
  566. Subject: rect.top vs: rect.topLeft in C
  567. Date: 3 Dec 87 01:34:08 GMT
  568. Organization: U. of Waterloo, Ontario
  569.  
  570. tedj@hpcilzb.HP.COM (Ted Johnson) writes:
  571. >Can someone tell me what I'm doing wrong here?  Using Lightspeed C v.2.11,
  572. >I tried to do the following:
  573. >
  574. >        tempPoint = aRect.topLeft;
  575.  
  576. singer@endor.UUCP (Richard Siegal@THINK Technologies) writes:
  577. >    You're getting confused between C and Pascal. In C there's no easy
  578. >way to get at the variants of a record. Therefore, there's a macro (declared in
  579. >"QuickDraw.h") for "topLeft" and "botRight". Instead of "aRect.topLeft", say
  580. >"topLeft(aRect)", and all will be well.
  581. -- 
  582. Although I haven't seen this exact trick used in any Mac C environment
  583. so far, it *is* possible to define Rect so that you can use the
  584. syntax described in Inside Macintosh for accessing its fields:
  585.  
  586. typedef struct {
  587.     Point topLeft;
  588.     Point botRight;
  589. } Rect;
  590.  
  591. #define top    topLeft.v
  592. #define left    topLeft.h
  593. #define bottom    botRight.v
  594. #define right    botRight.h
  595.  
  596. Note that LightSpeed C defines top,left,bottom and right as fields
  597. and topLeft,botRight as macros, while the above implementation does
  598. the reverse, *and* gives you a cleaner syntax.
  599.  
  600. Doug Moen
  601. University of Waterloo Computer Graphics Lab
  602. UUCP:     {ihnp4,watmath}!watcgl!kdmoen
  603. INTERNET: kdmoen@cgl.waterloo.edu
  604.  
  605.  
  606. ------------------------------
  607.  
  608. From: klein%gravity@Sun.COM (Mike Klein)
  609. Subject: Re: 4Dimension ???
  610. Date: 3 Dec 87 21:07:12 GMT
  611. Organization: Sun Microsystems, Mountain View, CA
  612.  
  613. In article <335@stech.UUCP> sysop@stech.UUCP (Jan Harrington) writes:
  614. >The manual is relatively clear, or at
  615. >least as clear as 4D manuals get.  Personally, I like the documentation, but
  616. >I'm a programmer ...
  617. >
  618. >Because the program in so complex, the learning curve for
  619. >productive use is very high.  There is a _lot_ of documentation, and you've
  620. >got to wade through most of it to get a good picture of the package.  If
  621. >you're not a programmer, you probably won't be happy with 4D (Guy Kawasaki 
  622. >disagrees, but that's another story).  In other words, to tap the power behind
  623. >4D, you've got to write code.                     
  624.  
  625. I have a copy of 4th Dimension, and I personally think the manuals are
  626. atrocious.  There are four of them: a "Tutorial," which is nothing of
  627. the sort, a "User's Guide," a "Programmer's Guide," and a "Command
  628. Reference." The only one of the four that has a suitable title is the
  629. Command Reference. The other three look more like somebody gathered the
  630. rest of the documentation on the floor into three binders at random.  I
  631. am still trying to figure out how to do the simplest two-table join, and
  632. I'm a programmer, too.  And then the vocabulary is different from what
  633. you'll see in a course on relational data bases; an attempt, I assume,
  634. to make the terms seem more "familiar" but to me it comes off as just
  635. "different," which is always worse than sticking with the original. 
  636. Nowhere in the index do you find the word "join," for example.  You
  637. figure out after a long time that instead you use the word "link."  And
  638. there aren't any "tables" but "files" instead.  And on and on.
  639.  
  640. Now, it appears that 4th Dimension is powerful, but I have a lot of
  641. other things to do with my time and the documentation is so poor that I
  642. haven't actually gotten to the point where I can put together the
  643. simplest data base and know why it does the things it does.  Until the
  644. documentation is better, I don't consider this a product a non-data base
  645. application developer can use. 
  646. --
  647. Mike Klein        klein@Sun.COM
  648. Sun Microsystems, Inc.    {ucbvax,hplabs,ihnp4,seismo}!sun!klein
  649. Mountain View, CA
  650.  
  651. ------------------------------
  652.  
  653. From: howard@cpocd2.UUCP (Howard A. Landman)
  654. Subject: Re: Help wanted:  a LSC question
  655. Date: 3 Dec 87 18:24:10 GMT
  656. Organization: Intel Corp. ASIC Systems Organization, Chandler AZ
  657.  
  658. Assuming something like:
  659.  
  660.     typedef struct {int x, y;} point;
  661.  
  662. one way of describing a rectangle which would allow easy access is:
  663.  
  664.     typedef union
  665.     {
  666.         struct {int top, left, bottom, right;}    ints;
  667.         struct {point topLeft, bottomRight;}    points;
  668.     } rectangle;
  669.  
  670. which would allow references of the form:
  671.  
  672.     tempPoint = aRect.points.topLeft;
  673.     tempInt = aRect.ints.top;
  674.  
  675. Note that this doesn't require the overhead of an extra variable to keep
  676. track of variants.  Admittedly, Ted got confused, but that's no reason
  677. to make incorrect accusations about C.
  678.  
  679. -- 
  680.     Howard A. Landman
  681.     {oliveb,hplabs}!intelca!mipos3!cpocd2!howard
  682.     howard%cpocd2.intel.com@RELAY.CS.NET
  683.     "I'm sorry, Dave, but I can't do that."
  684.  
  685.  
  686. ------------------------------
  687.  
  688. From: howard@cpocd2.UUCP (Howard A. Landman)
  689. Subject: Re: One Quick and Dumb ?
  690. Date: 3 Dec 87 18:36:35 GMT
  691. Organization: Intel Corp. ASIC Systems Organization, Chandler AZ
  692.  
  693. Try going into HyperCard, bringing up the message window, and executing
  694.  
  695.     hide menubar
  696.  
  697. I haven't tried this under MF, but it does hide the menubar under Finder
  698. 5.5. This is necessary, because some stacks USE the extra space (for
  699. example, the rather odd periodic table stack that went through
  700. comp.binaries.mac recently, and a rather infantile porn stack that
  701. someone gave me).  I would be *VERY* surprised if this failed under MF -
  702. Atkinson has specifically stated that he wanted HC to give programmers
  703. control of the entire screen.  The HC paint tools work under where the
  704. menubar used to be.
  705.  
  706. Oh yes, for the extremely naive, the way to get your menubar back is:
  707.  
  708.     show menubar
  709.  
  710. -- 
  711.     Howard A. Landman
  712.     {oliveb,hplabs}!intelca!mipos3!cpocd2!howard
  713.     howard%cpocd2.intel.com@RELAY.CS.NET
  714.     "I'm sorry, Dave, but I can't do that."
  715.  
  716.  
  717. ------------------------------
  718.  
  719. From: "William C. DenBesten" <denbeste@andy.bgsu.EDU>
  720. Subject: Re: Mac II power switch
  721. Date: Mon, 30 Nov 87 09:30:18 EST
  722.  
  723. MACWEEKBOS: (shulman@sdr.slb.com)
  724.  
  725. > There must be some advantage to this "smart" switch, right? What is it??
  726.  
  727. On the lisa, I called it a "request to power down" switch.  The
  728. advantage to it is that under normal operation, the user can not turn
  729. off the computer with out the computer having a chance to update the
  730. directory and other interesting stuff on the hard drive or any inserted
  731. floppies.
  732.  
  733. Not having a Mac II ($$$ vs desire), I can't answer for sure, but:  You
  734. should be able to recover by pressing the reset switch.
  735.  
  736. ------------------------------
  737.  
  738. From: Atul Butte <ST602397%BROWNVM.BITNET@wiscvm.wisc.EDU>
  739. Subject: Turbo Pascal ideas...
  740. Date: Tue, 01 Dec 87 13:52:19 EST
  741.  
  742. I have Turbo Pascal (1.0a).  Is there anyone out there who knows how to
  743. make INITS, FKEYS, MDEFS, WDEFS, CDEVS, etc... with Turbo Pascal?
  744.  
  745. Thank you in advance.
  746. -- 
  747. Atul Butte........................./---------\......./------------\
  748. Brown University...................   OK    .......   CANCEL
  749. ST602397@BROWNVM.BITNET............\---------/.......\------------/
  750.  
  751. ------------------------------
  752.  
  753. End of Usenet Mac Digest
  754. ************************
  755. -------
  756.